import Vue from 'vue';
import App from './App';
import cuCustom from './colorui/components/cu-custom.vue';
import MescrollBody from '@/components/third_party/mescroll-uni/mescroll-body.vue';

Vue.config.productionTip = false;
Vue.component('cu-custom', cuCustom); // 引入ColorUI的状态栏
Vue.component('mescroll-body', MescrollBody);    // 引入第三方下拉刷新

Vue.prototype.getToken = function() {
    return App.globalData.user.token;
};

App.mpType = 'app';

const app = new Vue({
    ...App
});
app.$mount();
